module.exports = {
    head: {
        title: 'Nuxt-Demo',
        meta: [
            { charset: 'utf-8' },
            { name: 'viewport', content: 'width=device-width, initial-scale=1' },
            {
                hid: 'meta-key-words',
                name: 'keywords',
                content:
                    '测试Nuxt相关信息,关键字',
            },
            {
                hid: 'description',
                name: 'description',
                content:
                    '测试Nuxt相关信息,关键字',
            }
        ],
        link: [{ rel: 'icon', type: 'image/x-icon', href: '/favicon.ico' }],
    },
    css: [
        // CSS file in the project
        '~/assets/css/main.css'
    ],
    server: {
        port: 3000 // default: 3000
    },
    modules: [
        '@nuxtjs/axios'
        //引入axios模块
    ],
    axios: {
        // Axios options here
        baseURL: 'http://icanhazip.com'
    },
    plugins: [
        '~/plugins/axios'
    ]
}